<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>SPI Driver: SPI Module Driver</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SPI Driver
   &#160;<span id="projectnumber">1.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group5.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">SPI Module Driver</div>  </div>
</div><!--header-->
<div class="contents">

<p>A structure to drive DSPI modules of MPC5604B.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct___s_p_i___d_r_v.html">_SPI_DRV</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaa3f08b6b790aa1596d6f41a122c17aad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa3f08b6b790aa1596d6f41a122c17aad"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group5.html#gaa3f08b6b790aa1596d6f41a122c17aad">initialise_SPI_DRIVER</a> (void)</td></tr>
<tr class="memdesc:gaa3f08b6b790aa1596d6f41a122c17aad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialisation function for SPI driver. Initializes the SPI variable with appropriate assingments on function pointers and activating TCI handler etc. Must be called before doing anything with the driver. <br/></td></tr>
<tr class="separator:gaa3f08b6b790aa1596d6f41a122c17aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga2365cce3281e8859c38a37edaced7e89"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2365cce3281e8859c38a37edaced7e89"></a>
struct <a class="el" href="struct___s_p_i___d_r_v.html">_SPI_DRV</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group5.html#ga2365cce3281e8859c38a37edaced7e89">SPI</a> [3]</td></tr>
<tr class="memdesc:ga2365cce3281e8859c38a37edaced7e89"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI driver instances. Variables defined on the driver structure, providing an Object Oriented user interface for using the driver.<br/>
. <br/></td></tr>
<tr class="separator:ga2365cce3281e8859c38a37edaced7e89"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>A structure to drive DSPI modules of MPC5604B. </p>
<p>This structure regroups the DSPI registers (volatile struct DSPI_tag), some flags and information about RX/TX data (variables), and some high level functions for easy data transfer.<br/>
</p>
<p>After each transfer function is called, Completed flag is reset and it gets Set once the transfer is completed. A transfer can be on foreground (blocking the program, no interrupts) or on the background (the program will run normally with interrupts to keep the transfer ongoing). </p>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Aug 19 2013 09:51:11 for SPI Driver by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.4 </li>
  </ul>
</div>
</body>
</html>
